package com.story.common.persistence.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.story.common.persistence.model.CategoryEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Dao
 *
 * @author wangjj
 * @email 987995507@qq.com
 * @date 2019-12-27 11:44:35
 */
public interface CategoryDao extends BaseMapper<CategoryEntity> {
    List<CategoryEntity> queryPageList(@Param("page") Page<CategoryEntity> page,@Param("name") String name);
}
